package io.zhaocy.acmspringboot.mvc.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author GeneZhao123
 * @since 2018-07-12
 */
@Data
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.UUID)
    private String id;

    @TableField("version")
    private Long version;

    @TableField("email")
    private String email;

    @TableField("nick_name")
    private String nickName;

    @TableField("pass_word")
    private String passWord;

    @TableField("reg_time")
    private Long regTime;

    @TableField("user_name")
    private String userName;

    @TableField("salt")
    private String salt;

    @TableField("mobile")
    private String mobile;


}
